ASK Variables
/documentation/pages/Guides/Desktop/Xdialog/ASK Variables.xml
When you use variables in an expression, you can use a special type of variable that asks you for its value when the expression is evaluated. These variables, called ASK variables, can be used just like any other variable. When Alpha Anywhere encounters the ASK variable, an input dialog box appears requesting that you type in a value. The expression result will depend upon the value you enter. The outcome of a query, the filter expression for an export, or the value of an update expression are all examples of operations and expressions which can be based on an ASK variable.
System Variables
/documentation/pages/Desktop/Reference/Design/System Variables.xml
There are several variables that are assigned or used by Alpha Anywhere for special purposes. These variables, called system variables, provide a way to exchange information directly with Alpha Anywhere. Each system variable has its own intended usage. You should not use these names for any of your variables. The following table lists some of the available system variables:
Dim Variables
/documentation/pages/Guides/Desktop/Design/Platform/Xbasic Action Scripting/Dim Variables.xml
The Dim Variables action identifies variables dimensioned outside the current action script. For example, this action would be useful in the case where you are defining a filter for a record list control on an Xdialog and your filter references a variable that was previously defined.
A5 Variables
/documentation/pages/Desktop/Reference/Design/Api/A5/A5 Variables.xml
The A5 variables, A_DB_CURRENT and A_DB_CURRENT_PATH
Pointer and Dot Variables
/documentation/pages/Ref/Xbasic/Reference/Pointer and Dot Variables.xml
Alpha Anywhere allows you to define pointer variables with sub-elements, so called "dot" variables. Dot variables can have multiple layers of sub-elements.
Displaying Time Variables
/documentation/pages/Guides/Desktop/Xdialog/Displaying Time Variables.xml
The following example uses the F directive within a Text Box control to format and display date and time values.
Using Ask Variables
/documentation/pages/Guides/Xbasic/Xbasic in Desktop Applications/Using Ask Variables.xml
In this example, you will create an Xbasic script that prompts the user for the name of the customer, and then prints the corresponding mailing label. This lesson uses Xbasic scripting (not Action Scripting) and is intended for users with some experience with Xbasic.
Passing Variables by Reference
/documentation/pages/Guides/Xbasic/Other Xbasic Topics/Passing Variables by Reference.xml
It is possible to pass variables by reference, using the byref keyword. If the receiving function changes the value of the variable, the sending function will see those changes. Assume you have the following function named test().
Understanding and Using Dot Variables
/documentation/pages/Guides/Xbasic/Other Xbasic Topics/Understanding and Using Dot Variables.xml
After you create a pointer variable, you may add to it any number of "child" variables of different types. These are known as dot variables.
Get Field Values (into Variables)
/documentation/pages/Guides/Desktop/Design/Platform/Xbasic Action Scripting/Get Field Values into Variables.xml
The Get Field Values (into Variables) action retrieves the "Value" properties of object(s) on a form or browse into variables.